package com.behelpful.demo.search.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * MySQL 表机构
 *
 * @author Alay
 * @date 2020-12-29 17:51
 * @project behelpful
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName(value = "`information_schema`.`columns`")
public class SqlSchemaColumn extends Model<SqlSchemaColumn> {
	private static final long serialVersionUID = 1L;
	/**
	 * 数据库名称
	 */
	private String tableSchema;
	/**
	 * 数据表名
	 */
	private String tableName;
	/**
	 * 字段名
	 */
	private String columnName;
	private String ordinalPosition;
	private String columnDefault;
	private String isNullable;
	private String dataType;
	private String characterMaximumLength;
	private String characterOctetLength;
	private String numericPrecision;
	private String numericScale;
	private String characterSetName;
	private String collationName;
}